package cn.edu.scau.sec.caixiaoqing.abstractFactory;

import cn.edu.scau.sec.caixiaoqing.abstractFactory.abstractClass.ConsumerElectronics;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.HuaweiPad;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.HuaweiPhone;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.HuaweiWatch;

public class HuaweiFactory extends AbstractFactory{
    @Override
    public ConsumerElectronics getPad() {
        return new HuaweiPad();
    }

    @Override
    public ConsumerElectronics getWatch() {
        return new HuaweiWatch();
    }

    @Override
    public ConsumerElectronics getPhone() {
        return new HuaweiPhone();
    }
}
